﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IList<PhotoGallery.Core.Business.Location>>"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    地点数据信息列表
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="list-right">
        <table width="100%" cellspacing="5" cellpadding="0" border="0">
            <tbody>
                <tr>
                    <td valign="top" class="s-box" id="list-left" style="width: 320px">
                        <div class="head">
                            文字</div>
                        <div class="con">
                             
                            <%= Html.ActionLink("新增","add") %>
                        </div>
                    </td>
                    <td>
                        <div class="con-box">
                            <div class="head">
                                类型:<input type="text" class="text">
                               
                                <span class="sexybutton" id="btn-search"><span><span>
                                    <input type="button" class="search" value="筛选"></span></span></span>
                            </div>
                            <div class="con">
                                <table cellspacing="0" cellpadding="0" class="info-table">
                                    <thead>
                                        <tr>
                                            <th>
                                               序号
                                            </th>
                                            <th>
                                                类型
                                            </th>
                                            <th>
                                                描述
                                            </th>
                                          
                                            <th>
                                                操作
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                       <% int i = 1;
                       foreach (var item in Model)
                       { %>
                                        <tr class="even">
                                            <td>
                                                 <%= i++ %>
                                            </td>
                                            <td>
                                                 <%= Html.Encode(item.Name) %>
                                            </td>
                                            <td>
                                                 <%= Html.Encode(item.Description) %>
                                            </td>
                                            <td>
                                            </td>
                                          
                                        </tr>
                                      <% } %>
                                      
                                    </tbody>
                                </table>
                                <div class="stat">
                                    <ul class="paging">
                                        <li title="上一页" class="prev"></li>
                                        <li title="下一页" class="next"></li>
                                    </ul>
                                    总计：100条&nbsp;当前第10页,每页30条</div>
                            </div>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="StyleContent" runat="server">
</asp:Content>
 
